package com.heifei

import scala.collection.mutable

/**
 * @author caizhengjun01@gmail.com
 * @date 2020/8/4 2:27 下午
 */
object SetDemo2 {
  def main(args: Array[String]): Unit = {

    val s2 = mutable.Set(1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1)

    s2 += 7

    s2.foreach(item => println(item))
  }
}
